package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * ClassModel
 * 班级表
 *
 * @author 杨江涛 
 * @version 2.0.0
 * @since 2.0.0 2018-11-15 10:35:56
 */
@ApiModel(value = "ClassModel:班级表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ClassModel implements Serializable {

    //region 模板逆向生产来自ClassEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "class主键")
	@Column(name = "id")
	private String id;
   	/**
	 * 行政班名称
	 */
	@ApiModelProperty(value = "行政班名称",required = true)
	private String name;

	/**
	 * 行政班代码
	 */
	@ApiModelProperty(value = "行政班代码",required = true)
	private String code;

	/**
	 * 专业(班级是属于专业的)
	 */
	@ApiModelProperty(value = "专业(班级是属于专业的)",required = true)
	private String professionId;

	/**
	 * 年级
	 */
    @ApiModelProperty(value = "年级")
	private String grade;

    //endregion

     /* *****************************以下是非模板生成的内容************************************ */

}
